package com.kingkim.electromechanical.usercenter.service;

import com.kingkim.electromechanical.commonutils.model.PageBean;
import com.kingkim.electromechanical.usercenter.model.po.Menu;
import org.springframework.dao.DataAccessException;

import java.util.List;

public interface IMenuService {

    PageBean<Menu> QueryForList(int page, int limit, Menu menu) throws DataAccessException;

    List QueryParentForList() throws DataAccessException;

    Integer DeleteForList(List<String> ids) throws DataAccessException;

    int SaveOrModify(Menu menu) throws DataAccessException;
}
